<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="/layui/css/layui.css">
    <script src="/layui/layui.js"></script>
    <script src="/js/request.js"></script>
    <script src="/js/global.js"></script>
    <script src="/js/index.js"></script>
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
    <div class="layui-header">
        <div class="layui-logo">layui 后台布局</div>
        <!-- 头部区域（可配合layui已有的水平导航） -->
        <ul class="layui-nav layui-layout-left">
            <li class="layui-nav-item"><a href="demo.html">控制台</a></li>
            <li class="layui-nav-item"><a href="pages/platform/index.html">平台管理</a></li>
            <li class="layui-nav-item"><a href="pages/system/role/index.html">角色管理</a></li>
            <li class="layui-nav-item"><a href="pages/system/menu/index.html">菜单管理</a></li>
            <li class="layui-nav-item"><a href="javascript:void(0)" class="refresh">刷新权限</a></li>
            <li class="layui-nav-item">
                <a href="javascript:;">其它系统</a>
                <dl class="layui-nav-child">
                    <dd><a href="">邮件管理</a></dd>
                    <dd><a href="">消息管理</a></dd>
                    <dd><a href="">授权管理</a></dd>
                </dl>
            </li>
        </ul>
        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item">
                <a href="javascript:;">
                    <img src="http://t.cn/RCzsdCq" class="layui-nav-img">

                    <span id="username"></span>
                    <script>
                        var nickName = getTokenInfo().nickName
                        document.getElementById('username').innerHTML = nickName;
                    </script>
                </a>
                <dl class="layui-nav-child">
                    <dd><a href="">基本资料</a></dd>
                    <dd><a href="">安全设置</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item"><a class="logout" href="javascript:void(0)">退了</a></li>
        </ul>
    </div>

    <div class="layui-side layui-bg-gray">
        <div class="layui-side-scroll">
            <div id="test1"></div>
        </div>
    </div>

    <div class="layui-body">
        <iframe src="" name="mainFrame" style="width: 100%;height: 98%; ">

        </iframe>
    </div>

    <div class="layui-footer">
        <!-- 底部固定区域 -->
        © layui.com - 底部固定区域
        <span id="refreshTokenCountdown" style="float: right; color: red; margin-left: 10px;"></span>
        <span id="tokenCountdown" style="float: right; color: green;"></span>
    </div>
</div>
</body>
</html>
